- 
		Home
	
 
	- 
GiveWP – Donation Plugin and Fundraising Platform
 
- 
3.4.1
 
- 
Code
 
- 
Classes
 
-  DonationFormViewModel 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											44 | 
										
																			
											| Dependencies | 
											13 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											432 | 
										
																			
											| Lines of code | 
											242 | 
										
																			
											| Logical lines of code | 
											98 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											101 | 
										
																			
											| Methods | 
											19 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 19
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| getTotalCountValue() | 
									S  | 
																	59 | 
													7 | 
													15 | 
							
					
				| getCountLabel() | 
									S  | 
																	61 | 
													7 | 
													12 | 
							
					
				| render() | 
									S  | 
																	51 | 
													4 | 
													33 | 
							
					
				| enqueueDesign() | 
									S  | 
																	56 | 
													4 | 
													21 | 
							
					
				| exports() | 
									S  | 
																	49 | 
													2 | 
													33 | 
							
					
				| updateDesignSettingsClassNames() | 
									S  | 
																	62 | 
													3 | 
													12 | 
							
					
				| enqueueGateways() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| enqueueRegistrars() | 
									S  | 
																	55 | 
													1 | 
													23 | 
							
					
				| enqueueFormApp() | 
									S  | 
																	55 | 
													1 | 
													23 | 
							
					
				| enqueueGlobalStyles() | 
									S  | 
																	59 | 
													1 | 
													16 | 
							
					
				| getTotalRevenue() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| getFormDesign() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| formStatsData() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| designId() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| primaryColor() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| secondaryColor() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| goalType() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| enqueueFormScripts() | 
									S  | 
																	72 | 
													1 | 
													6 |